<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.5"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>VectSharp: VectSharp.IFontLibrary Interface Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="Doxy.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectlogo"><img alt="Logo" src="icon.svg"/></td>
  <td id="projectalign">
   <div id="projectname">VectSharp<span id="projectnumber">&#160;2.6.1</span>
   </div>
   <div id="projectbrief">A light library for C# vector graphics</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.5 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('interface_vect_sharp_1_1_i_font_library.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="interface_vect_sharp_1_1_i_font_library-members.html">List of all members</a>  </div>
  <div class="headertitle"><div class="title">VectSharp.IFontLibrary Interface Reference</div></div>
</div><!--header-->
<div class="contents">

<p>Represents a font library with methods to create <a class="el" href="class_vect_sharp_1_1_font_family.html" title="Represents a typeface.">FontFamily</a> objects from a string or from <a class="el" href="class_vect_sharp_1_1_font_family.html#a6cdec4eb0a660064bc416e81f69d3780" title="The 14 standard font families.">FontFamily.StandardFontFamilies</a>.   
 <a href="interface_vect_sharp_1_1_i_font_library.html#details">More...</a></p>
<div class="dynheader">
Inheritance diagram for VectSharp.IFontLibrary:</div>
<div class="dyncontent">
<div class="center"><img src="interface_vect_sharp_1_1_i_font_library__inherit__graph.png" border="0" usemap="#a_vect_sharp_8_i_font_library_inherit__map" alt="Inheritance graph"/></div>
<map name="a_vect_sharp_8_i_font_library_inherit__map" id="a_vect_sharp_8_i_font_library_inherit__map">
<area shape="rect" title="Represents a font library with methods to create FontFamily objects from a string or from FontFamily...." alt="" coords="5,80,160,105"/>
<area shape="rect" href="class_vect_sharp_1_1_font_library.html" title="Abstract class with a default implementation of font family fallbacks." alt="" coords="208,80,360,105"/>
<area shape="rect" href="class_vect_sharp_1_1_default_font_library.html" title="A default font library that resolves standard families using the embedded fonts." alt="" coords="408,5,600,31"/>
<area shape="rect" href="class_vect_sharp_1_1_folder_font_library.html" title="A font library that resolves fonts from a folder containing TrueType files." alt="" coords="410,55,598,80"/>
<area shape="rect" href="class_vect_sharp_1_1_multi_font_library.html" title="A font library that tries to resolve fonts using other font libraries." alt="" coords="414,104,594,129"/>
<area shape="rect" href="class_vect_sharp_1_1_simple_font_library.html" title="A font library that can be used to cache and resolve font family names." alt="" coords="408,153,600,179"/>
</map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a38d3cdb436fbebb8f52827548824fd22"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_vect_sharp_1_1_font_family.html">FontFamily</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_vect_sharp_1_1_i_font_library.html#a38d3cdb436fbebb8f52827548824fd22">ResolveFontFamily</a> (string fontFamily)</td></tr>
<tr class="memdesc:a38d3cdb436fbebb8f52827548824fd22"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new font family from the specified family name or true type file. If the family name or the true type file are not valid, an exception might be raised.   <a href="interface_vect_sharp_1_1_i_font_library.html#a38d3cdb436fbebb8f52827548824fd22">More...</a><br /></td></tr>
<tr class="separator:a38d3cdb436fbebb8f52827548824fd22"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a426840994017cba81d0d04c9fd180c97"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_vect_sharp_1_1_font_family.html">FontFamily</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_vect_sharp_1_1_i_font_library.html#a426840994017cba81d0d04c9fd180c97">ResolveFontFamily</a> (string fontFamily, params string[] fallback)</td></tr>
<tr class="memdesc:a426840994017cba81d0d04c9fd180c97"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new font family from the specified family name or true type file. If the family name or the true type file are not valid, try to instantiate the font family using the <em>fallback</em> . If none of the fallback family names or true type files are valid, an exception might be raised.   <a href="interface_vect_sharp_1_1_i_font_library.html#a426840994017cba81d0d04c9fd180c97">More...</a><br /></td></tr>
<tr class="separator:a426840994017cba81d0d04c9fd180c97"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa5edae1ac42260badf5963b2e8723278"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_vect_sharp_1_1_font_family.html">FontFamily</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_vect_sharp_1_1_i_font_library.html#aa5edae1ac42260badf5963b2e8723278">ResolveFontFamily</a> (<a class="el" href="class_vect_sharp_1_1_font_family.html#a6cdec4eb0a660064bc416e81f69d3780">FontFamily.StandardFontFamilies</a> standardFontFamily)</td></tr>
<tr class="memdesc:aa5edae1ac42260badf5963b2e8723278"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new font family from the specified standard font family name.   <a href="interface_vect_sharp_1_1_i_font_library.html#aa5edae1ac42260badf5963b2e8723278">More...</a><br /></td></tr>
<tr class="separator:aa5edae1ac42260badf5963b2e8723278"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8d3c5995d296afff969b34f22f6aee7a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_vect_sharp_1_1_font_family.html">FontFamily</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_vect_sharp_1_1_i_font_library.html#a8d3c5995d296afff969b34f22f6aee7a">ResolveFontFamily</a> (string fontFamily, <a class="el" href="class_vect_sharp_1_1_font_family.html#a6cdec4eb0a660064bc416e81f69d3780">FontFamily.StandardFontFamilies</a> finalFallback, params string[] fallback)</td></tr>
<tr class="memdesc:a8d3c5995d296afff969b34f22f6aee7a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new font family from the specified family name or true type file. If the family name or the true type file are not valid, try to instantiate the font family using the <em>fallback</em> . If none of the fallback family names or true type files are valid, instantiate a standard font family using the <em>finalFallback</em> .   <a href="interface_vect_sharp_1_1_i_font_library.html#a8d3c5995d296afff969b34f22f6aee7a">More...</a><br /></td></tr>
<tr class="separator:a8d3c5995d296afff969b34f22f6aee7a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p >Represents a font library with methods to create <a class="el" href="class_vect_sharp_1_1_font_family.html" title="Represents a typeface.">FontFamily</a> objects from a string or from <a class="el" href="class_vect_sharp_1_1_font_family.html#a6cdec4eb0a660064bc416e81f69d3780" title="The 14 standard font families.">FontFamily.StandardFontFamilies</a>.  </p>

<p class="definition">Definition at line <a class="el" href="_font_library_8cs_source.html#l00028">28</a> of file <a class="el" href="_font_library_8cs_source.html">FontLibrary.cs</a>.</p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="aa5edae1ac42260badf5963b2e8723278" name="aa5edae1ac42260badf5963b2e8723278"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa5edae1ac42260badf5963b2e8723278">&#9670;&#160;</a></span>ResolveFontFamily() <span class="overload">[1/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_vect_sharp_1_1_font_family.html">FontFamily</a> VectSharp.IFontLibrary.ResolveFontFamily </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_vect_sharp_1_1_font_family.html#a6cdec4eb0a660064bc416e81f69d3780">FontFamily.StandardFontFamilies</a>&#160;</td>
          <td class="paramname"><em>standardFontFamily</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create a new font family from the specified standard font family name.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">standardFontFamily</td><td>The standard name of the font family.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A <a class="el" href="class_vect_sharp_1_1_font_family.html" title="Represents a typeface.">FontFamily</a> object corresponding to the specified font family.</dd></dl>

<p>Implemented in <a class="el" href="class_vect_sharp_1_1_font_library.html#aa2b3527549a24f1ed1564b8516a93213">VectSharp.FontLibrary</a>, <a class="el" href="class_vect_sharp_1_1_simple_font_library.html#abbb23adc127eba43dea02811e97aa148">VectSharp.SimpleFontLibrary</a>, <a class="el" href="class_vect_sharp_1_1_default_font_library.html#a2c52fbf93d45ea691358ab224d89260c">VectSharp.DefaultFontLibrary</a>, <a class="el" href="class_vect_sharp_1_1_folder_font_library.html#a9194dfd783bfd2c499801333d05e2393">VectSharp.FolderFontLibrary</a>, and <a class="el" href="class_vect_sharp_1_1_multi_font_library.html#adf38d46857c2163ef7e14370bdb20124">VectSharp.MultiFontLibrary</a>.</p>

</div>
</div>
<a id="a38d3cdb436fbebb8f52827548824fd22" name="a38d3cdb436fbebb8f52827548824fd22"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a38d3cdb436fbebb8f52827548824fd22">&#9670;&#160;</a></span>ResolveFontFamily() <span class="overload">[2/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_vect_sharp_1_1_font_family.html">FontFamily</a> VectSharp.IFontLibrary.ResolveFontFamily </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>fontFamily</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create a new font family from the specified family name or true type file. If the family name or the true type file are not valid, an exception might be raised.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fontFamily</td><td>The name of the font family to create, or the path to a TTF file.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>If the font family name or the true type file is valid, a <a class="el" href="class_vect_sharp_1_1_font_family.html" title="Represents a typeface.">FontFamily</a> object corresponding to the specified font family.</dd></dl>

<p>Implemented in <a class="el" href="class_vect_sharp_1_1_font_library.html#aabf4f02d4ac7b08ef2c4c957100d09a1">VectSharp.FontLibrary</a>, <a class="el" href="class_vect_sharp_1_1_simple_font_library.html#a63ef6efa35f69a22ec60236f8515ade9">VectSharp.SimpleFontLibrary</a>, <a class="el" href="class_vect_sharp_1_1_default_font_library.html#a24cab54d5c1bf80bffd450336504948d">VectSharp.DefaultFontLibrary</a>, <a class="el" href="class_vect_sharp_1_1_folder_font_library.html#a7578a29286b455a56b82aab5c3294884">VectSharp.FolderFontLibrary</a>, and <a class="el" href="class_vect_sharp_1_1_multi_font_library.html#a84669e4b0f9ece2a617c64785928494a">VectSharp.MultiFontLibrary</a>.</p>

</div>
</div>
<a id="a8d3c5995d296afff969b34f22f6aee7a" name="a8d3c5995d296afff969b34f22f6aee7a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8d3c5995d296afff969b34f22f6aee7a">&#9670;&#160;</a></span>ResolveFontFamily() <span class="overload">[3/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_vect_sharp_1_1_font_family.html">FontFamily</a> VectSharp.IFontLibrary.ResolveFontFamily </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>fontFamily</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_vect_sharp_1_1_font_family.html#a6cdec4eb0a660064bc416e81f69d3780">FontFamily.StandardFontFamilies</a>&#160;</td>
          <td class="paramname"><em>finalFallback</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">params string[]&#160;</td>
          <td class="paramname"><em>fallback</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create a new font family from the specified family name or true type file. If the family name or the true type file are not valid, try to instantiate the font family using the <em>fallback</em> . If none of the fallback family names or true type files are valid, instantiate a standard font family using the <em>finalFallback</em> .  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fontFamily</td><td>The name of the font family to create, or the path to a TTF file.</td></tr>
    <tr><td class="paramname">fallback</td><td>Names of additional font families or TTF files, which will be tried if the first <em>fontFamily</em>  is not valid.</td></tr>
    <tr><td class="paramname">finalFallback</td><td>The standard name of the font family that will be used if none of the fallback families are valid.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A <a class="el" href="class_vect_sharp_1_1_font_family.html" title="Represents a typeface.">FontFamily</a> object corresponding to the first of the specified font families that is valid.</dd></dl>

<p>Implemented in <a class="el" href="class_vect_sharp_1_1_font_library.html#a230216ba67571ee0d48e346a8e3ae69f">VectSharp.FontLibrary</a>.</p>

</div>
</div>
<a id="a426840994017cba81d0d04c9fd180c97" name="a426840994017cba81d0d04c9fd180c97"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a426840994017cba81d0d04c9fd180c97">&#9670;&#160;</a></span>ResolveFontFamily() <span class="overload">[4/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_vect_sharp_1_1_font_family.html">FontFamily</a> VectSharp.IFontLibrary.ResolveFontFamily </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>fontFamily</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">params string[]&#160;</td>
          <td class="paramname"><em>fallback</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create a new font family from the specified family name or true type file. If the family name or the true type file are not valid, try to instantiate the font family using the <em>fallback</em> . If none of the fallback family names or true type files are valid, an exception might be raised.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fontFamily</td><td>The name of the font family to create, or the path to a TTF file.</td></tr>
    <tr><td class="paramname">fallback</td><td>Names of additional font families or TTF files, which will be tried if the first <em>fontFamily</em>  is not valid.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A <a class="el" href="class_vect_sharp_1_1_font_family.html" title="Represents a typeface.">FontFamily</a> object corresponding to the first of the specified font families that is valid.</dd></dl>

<p>Implemented in <a class="el" href="class_vect_sharp_1_1_font_library.html#ae281a6cc27fa36dc1ba639408837b2a2">VectSharp.FontLibrary</a>.</p>

</div>
</div>
<hr/>The documentation for this interface was generated from the following file:<ul>
<li>VectSharp/<a class="el" href="_font_library_8cs_source.html">FontLibrary.cs</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespace_vect_sharp.html">VectSharp</a></li><li class="navelem"><a class="el" href="interface_vect_sharp_1_1_i_font_library.html">IFontLibrary</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.5 </li>
  </ul>
</div>
</body>
</html>
